package serchservice

import (
	"model/serchmodel"
	"services"
)

func GetBannerList() services.Response {
	data := serchmodel.GetBannerList()
	if data == nil {
		return services.Response{
			Success: false,
			Code:    0,
			Message: "",
			Data:    nil,
		}
	}

	return services.Response{
		Success: true,
		Code:    0,
		Message: "",
		Data:    data,
	}

}
